* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app {
  width: 1650px;
  height: 850px;
  position: relative;
  background-color: #97d4ed;
}

.start_btns,
.Instruction_cont,
.difficulty_select,
.map_select,
.game,
.userName,
.fail_cont,
.win_cont,
.ranking {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.Instruction_cont,
.difficulty_select,
.map_select,
.game,
.userName,
.fail_cont,
.win_cont,
.ranking {
  width: 100%;
  height: 100%;
  background-color: #febc26;
  transform: translate(-50%, -50%) scale(0);
  transition: 0.5s ease-in-out;
}

.start_btns button,
.difficulty_select button {
  width: 300px;
  height: 80px;
  border-radius: 7px;
  margin-bottom: 30px;
  cursor: pointer;
  border: none;
  background-color: #febc26;
  color: #fff;
  font-size: 30px;
  transition: 0.3s;
  opacity: 0;
  animation: show 0.5s ease-in-out forwards;
}

.start_btns button:nth-child(1) {
  animation-delay: 0.2s;
}

.start_btns button:nth-child(2) {
  animation-delay: 0.4s;
}

.start_btns button:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes show {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.start_btns button:hover {
  background-color: #e8a30d;
}

.Instruction_cont h2 {
  font-size: 50px;
  color: #fff;
}

.menu,
.export {
  position: absolute;
  right: 5%;
  top: 5%;
  padding: 20px 30px;
  background-color: #97d4ed;
  border: none;
  color: #fff;
  cursor: pointer;
}

.export {
  top: 13%;
}

.menu,
.export {
  width: 100px;
  height: 50px;
}

.menu:hover,
.export:hover {
  transition: 0.3s ease-in-out;
  background-color: #6ec6ea;
}

.difficulty_select button {
  background-color: #6ec6ea;
}

.difficulty_select button:hover {
  background-color: #5ebfe7;
}

.map_box {
  width: 80%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.map_items {
  position: relative;
  width: 15%;
  margin-right: 15%;
  opacity: 0;
  animation: 0.2s show forwards ease-in-out;
  cursor: pointer;
}

.map_items:nth-child(1) {
  animation-delay: 0.2s;
}

.map_items:nth-child(2) {
  animation-delay: 0.4s;
}

.map_items:nth-child(3) {
  animation-delay: 0.6s;
}

.map_items:nth-child(4) {
  animation-delay: 0.8s;
}

.map_items:nth-child(5) {
  animation-delay: 1s;
}

.map_items:nth-child(6) {
  animation-delay: 1.2s;
}

.map_item {
  position: absolute;
  width: 6px;
  height: 6px;
}

.map_select h2 {
  position: absolute;
  top: 5%;
  color: #fff;
  font-size: 35px;
}

.file {
  display: none;
}

.canvas {
  margin-top: 3%;
}

.game_btn {
  position: absolute;
  top: 3%;
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.game_btn h2 {
  font-size: 18px;
}

.game_btn button,
.fail_cont button,
.win_cont button,
.ranking_btn button {
  background-color: #6ec6ea;
  width: 100px;
  height: 30px;
  color: #fff;
  border: navajowhite;
  cursor: pointer;
}

.fail_cont button,
.win_cont button {
  width: 200px;
  height: 50px;
}

.win_cont button,
.win_cont h2 {
  margin-bottom: 30px;
}

.game_btn button:hover,
.userName button:hover,
.fail_cont button:hover,
.win_cont button:hover,
.ranking_btn button:hover {
  transition: 0.3s ease-in-out;
  background-color: #97d4ed;
}

.keys {
  display: none;
}

.userName {
  flex-direction: row;
}

.userName input,
.userName button {
  padding: 15px;
  border: none;
  outline: none;
}

.userName button {
  background-color: #97d4ed;
  cursor: pointer;
  color: #fff;
}

.userName h2 {
  color: #fff;
}

.fail_cont h2,
.win_cont h2 {
  color: #fff;
  font-size: 40px;
}

.ranking_cont {
  width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: baseline;
}

.ranking ul {
  width: 100%;
  list-style: none;
  display: flex;
}

.box {
  flex-direction: column;
}

.ranking ul li {
  width: 25%;
  border: 1px solid #fff;
  font-size: 16px;
  padding: 5px;
  text-align: center;
}